package com.wy.order.dataobject;


import lombok.Data;
import org.omg.CORBA.INTERNAL;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;

@Data
@Entity
public class ProductInfo {

    @Id
    private String productId;

    //商品名字
    private String productName;
    //商品价格
    private BigDecimal productPrice;
    //库存
    private Integer productStock;
    //描述
    private String productDescription;
    //小图
    private String productIcon;
    //类目编号
    private Integer categoryType;
    //商品状态 0:正常 1:下架
    private Integer productState;
}
